home *** CD-ROM | disk | FTP | other *** search
- Path: cleveland.Freenet.Edu!cj841
- From: cj841@cleveland.Freenet.Edu (Chris Steiner)
- Newsgroups: comp.lang.c++
- Subject: MSVC++ 1.52, simple recordset question again
- Date: 14 Feb 1996 19:16:07 GMT
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- Message-ID: <4ftcdn$h1f@madeline.INS.CWRU.Edu>
- Reply-To: cj841@cleveland.Freenet.Edu (Chris Steiner)
- NNTP-Posting-Host: nextsun.ins.cwru.edu
-
-
- I have a simple program that displays one field of a database in
- a combo box. The other field of the database is a hash number
- representing the string displayed.
-
- Everything is linked through m_pSet as suggested in the book, and
- I'm using the first, prev, next, and last toolbar buttons.
-
- The problem I'm having is this: The user can change the name of
- the record displayed, and when one of the toolbar buttons is
- pressed, the program saves the altered value without changing
- the hash number.
-
- Is there a way I can get it to re-calculate the hash number when
- the user clicks on the toolbar, before the data is saved?
-